package com.company;

public class Date {
    private int year;
    public int month;
    public int day;
    /*public void setDay(int y,int m,int d) {
        year = y;
        month = m;
        day = d;
    }*/


    public Date(){
    }


    public Date(int y,int m,int d){
        year = y;
        month = m;
        day = d;
    }

    public void prindate(){
        System.out.println(year+"/"+day+"/"+month);
    }
    public void print() {
        System.out.println(123);
    }
}
